import http from "./http";

// 项目新增接口
export const projectAdd = (createData) => http.post("/api/projects/add", createData);

// 获取项目列表
export const getProject = () => http.get("/api/projectsst");

//可视化图表接口
export const getProjectData = () => http.get('/api/projectData');

export const getChatData = () =>http.get('/api/projects/user');

export const getAllChatData = () =>http.get('/api/projects/all');